package com.cbts.dao.impl;

import com.cbts.dao.UserGroupDao;
import com.cbts.entity.UserGroup;
/**
 * @author 邱鸿辉
 *
 */
public class UserGroupDaoImpl extends BaseDaoImpl<UserGroup> implements UserGroupDao{

	public UserGroup getUserGroupByUserGroupName(String userGroupName) {
		
		String hql = "and o.userGroupName = ?";
		return queryUnique(hql, new Object[]{userGroupName});
	}
}
